#!/usr/bin/env python

import os, sys

path = os.path.abspath(__file__)
path_splitted = path.split('/')
path = ''
for i in range( len(path_splitted) - 2):
    path += path_splitted[i] + '/'

#print('path: {}'.format(path))

demo = path+'/'+'run_demo.sh'

cdir = os.getcwd()

cmd = "cp {} {}/run.sh".format(demo,cdir)

os.system(cmd)
